<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{% block title %}showstop.tv | most up-to-date details for television{% endblock %}</title>
        {% block stylesheets %}
		<link rel="stylesheet" href="{{ asset('bundles/showstop/css/base.css') }}" type="text/css" media="all" />
		{% endblock %}
        <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body>
	
		<div id="wrapper">
			<div id="top-nav">
				<a href="{{ path('ShowStopTelevisionBundle_homepage') }}"><img style="float:left" src="{{ asset('bundles/showstop/img/logo.gif') }}" alt="showstop" /></a>
				<div style="width: 350px; float: right;">
					<ul id ="nav">
						<li class="current"><a href="{{ path('ShowStopTelevisionBundle_homepage') }}">Television</a>
							<ul>
								<li><a href="{{ path('_searchAllpage', {'index': 'A'}) }}">View All</a></li>
								<li><a href="/showstop/web/app_dev.php/upcoming/">Upcoming</a></li>
								
							</ul>
						</li>
						{% if is_granted('IS_AUTHENTICATED_FULLY') %}
							<li class="current"><a href="{{ path('ShowStopTelevisionBundle_homepage') }}">{{ app.user.fname }} {{ app.user.lname }}</a>
								<ul>
									<li><a href="{{ path("_favorites") }}">Favorite Shows</a></li>
									<li><a href="{{ path("_profile", { "id": app.user.id }) }}">Update Profile</a></li>
									<li><a href="{{ path("_password") }}">Change Password</a></li>
									<li><a href="{{ path("logout") }}">Logout</a></li>
								</ul>
							</li>
						</ul>
						{% else %}
						</ul>
						<div id="navlinks" style="float:right">
								<a href="{{ path('_register') }}">Register</a>
								<span> | </span>
								<a href="{{ path("_login") }}">Login</a>
						</div>
						{% endif %}
							
						</li>
					</ul>
				</div>
			</div>
			<div class="content">{% block body %}{% endblock %}</div>
		</div>
     </body>
</html>
